import request from '@/utils/request'

export function addNurse(data) {
  return request({
    url: '/nurse/create',
    method: 'post',
    data
  })
}

export function verifyNurse(data) {
  return request({
    url: '/nurse/verify',
    method: 'post',
    data
  })
}

export function getAllNurse(data) {
  return request({
    url: '/nurse/list',
    method: 'get',
    params: data
  })
}

export function getNurse(data) {
  return request({
    url: '/nurse/detail',
    method: 'get',
    params: data
  })
}

export function getNurseByNum(data) {
  return request({
    url: '/nurse/detail',
    method: 'get',
    params: data
  })
}
